﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009E3 RID: 2531
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KilledPunkLordMonsterInfo : IMessage<KilledPunkLordMonsterInfo>, IMessage, IEquatable<KilledPunkLordMonsterInfo>, IDeepCloneable<KilledPunkLordMonsterInfo>, IBufferMessage
	{
		// Token: 0x17002007 RID: 8199
		// (get) Token: 0x0600717B RID: 29051 RVA: 0x0012FC83 File Offset: 0x0012DE83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KilledPunkLordMonsterInfo> Parser
		{
			get
			{
				return KilledPunkLordMonsterInfo._parser;
			}
		}

		// Token: 0x17002008 RID: 8200
		// (get) Token: 0x0600717C RID: 29052 RVA: 0x0012FC8A File Offset: 0x0012DE8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KilledPunkLordMonsterInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002009 RID: 8201
		// (get) Token: 0x0600717D RID: 29053 RVA: 0x0012FC9C File Offset: 0x0012DE9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KilledPunkLordMonsterInfo.Descriptor;
			}
		}

		// Token: 0x0600717E RID: 29054 RVA: 0x0012FCA3 File Offset: 0x0012DEA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KilledPunkLordMonsterInfo()
		{
		}

		// Token: 0x0600717F RID: 29055 RVA: 0x0012FCAC File Offset: 0x0012DEAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KilledPunkLordMonsterInfo(KilledPunkLordMonsterInfo other) : this()
		{
			this.hGAIBECFCPL_ = other.hGAIBECFCPL_;
			this.worldLevel_ = other.worldLevel_;
			this.configId_ = other.configId_;
			this.cDKOHBLHDDH_ = other.cDKOHBLHDDH_;
			this.monsterId_ = other.monsterId_;
			this.createTime_ = other.createTime_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007180 RID: 29056 RVA: 0x0012FD18 File Offset: 0x0012DF18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KilledPunkLordMonsterInfo Clone()
		{
			return new KilledPunkLordMonsterInfo(this);
		}

		// Token: 0x1700200A RID: 8202
		// (get) Token: 0x06007181 RID: 29057 RVA: 0x0012FD20 File Offset: 0x0012DF20
		// (set) Token: 0x06007182 RID: 29058 RVA: 0x0012FD28 File Offset: 0x0012DF28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HGAIBECFCPL
		{
			get
			{
				return this.hGAIBECFCPL_;
			}
			set
			{
				this.hGAIBECFCPL_ = value;
			}
		}

		// Token: 0x1700200B RID: 8203
		// (get) Token: 0x06007183 RID: 29059 RVA: 0x0012FD31 File Offset: 0x0012DF31
		// (set) Token: 0x06007184 RID: 29060 RVA: 0x0012FD39 File Offset: 0x0012DF39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint WorldLevel
		{
			get
			{
				return this.worldLevel_;
			}
			set
			{
				this.worldLevel_ = value;
			}
		}

		// Token: 0x1700200C RID: 8204
		// (get) Token: 0x06007185 RID: 29061 RVA: 0x0012FD42 File Offset: 0x0012DF42
		// (set) Token: 0x06007186 RID: 29062 RVA: 0x0012FD4A File Offset: 0x0012DF4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ConfigId
		{
			get
			{
				return this.configId_;
			}
			set
			{
				this.configId_ = value;
			}
		}

		// Token: 0x1700200D RID: 8205
		// (get) Token: 0x06007187 RID: 29063 RVA: 0x0012FD53 File Offset: 0x0012DF53
		// (set) Token: 0x06007188 RID: 29064 RVA: 0x0012FD5B File Offset: 0x0012DF5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CDKOHBLHDDH
		{
			get
			{
				return this.cDKOHBLHDDH_;
			}
			set
			{
				this.cDKOHBLHDDH_ = value;
			}
		}

		// Token: 0x1700200E RID: 8206
		// (get) Token: 0x06007189 RID: 29065 RVA: 0x0012FD64 File Offset: 0x0012DF64
		// (set) Token: 0x0600718A RID: 29066 RVA: 0x0012FD6C File Offset: 0x0012DF6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x1700200F RID: 8207
		// (get) Token: 0x0600718B RID: 29067 RVA: 0x0012FD75 File Offset: 0x0012DF75
		// (set) Token: 0x0600718C RID: 29068 RVA: 0x0012FD7D File Offset: 0x0012DF7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long CreateTime
		{
			get
			{
				return this.createTime_;
			}
			set
			{
				this.createTime_ = value;
			}
		}

		// Token: 0x0600718D RID: 29069 RVA: 0x0012FD86 File Offset: 0x0012DF86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KilledPunkLordMonsterInfo);
		}

		// Token: 0x0600718E RID: 29070 RVA: 0x0012FD94 File Offset: 0x0012DF94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KilledPunkLordMonsterInfo other)
		{
			return other != null && (other == this || (this.HGAIBECFCPL == other.HGAIBECFCPL && this.WorldLevel == other.WorldLevel && this.ConfigId == other.ConfigId && this.CDKOHBLHDDH == other.CDKOHBLHDDH && this.MonsterId == other.MonsterId && this.CreateTime == other.CreateTime && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600718F RID: 29071 RVA: 0x0012FE20 File Offset: 0x0012E020
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HGAIBECFCPL)
			{
				num ^= this.HGAIBECFCPL.GetHashCode();
			}
			if (this.WorldLevel != 0U)
			{
				num ^= this.WorldLevel.GetHashCode();
			}
			if (this.ConfigId != 0U)
			{
				num ^= this.ConfigId.GetHashCode();
			}
			if (this.CDKOHBLHDDH != 0U)
			{
				num ^= this.CDKOHBLHDDH.GetHashCode();
			}
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this.CreateTime != 0L)
			{
				num ^= this.CreateTime.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007190 RID: 29072 RVA: 0x0012FEDC File Offset: 0x0012E0DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007191 RID: 29073 RVA: 0x0012FEE4 File Offset: 0x0012E0E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007192 RID: 29074 RVA: 0x0012FEF0 File Offset: 0x0012E0F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CDKOHBLHDDH != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.CDKOHBLHDDH);
			}
			if (this.CreateTime != 0L)
			{
				output.WriteRawTag(64);
				output.WriteInt64(this.CreateTime);
			}
			if (this.WorldLevel != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.WorldLevel);
			}
			if (this.ConfigId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.ConfigId);
			}
			if (this.HGAIBECFCPL)
			{
				output.WriteRawTag(96);
				output.WriteBool(this.HGAIBECFCPL);
			}
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007193 RID: 29075 RVA: 0x0012FFBC File Offset: 0x0012E1BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HGAIBECFCPL)
			{
				num += 2;
			}
			if (this.WorldLevel != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.WorldLevel);
			}
			if (this.ConfigId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ConfigId);
			}
			if (this.CDKOHBLHDDH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CDKOHBLHDDH);
			}
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this.CreateTime != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.CreateTime);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007194 RID: 29076 RVA: 0x00130068 File Offset: 0x0012E268
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KilledPunkLordMonsterInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HGAIBECFCPL)
			{
				this.HGAIBECFCPL = other.HGAIBECFCPL;
			}
			if (other.WorldLevel != 0U)
			{
				this.WorldLevel = other.WorldLevel;
			}
			if (other.ConfigId != 0U)
			{
				this.ConfigId = other.ConfigId;
			}
			if (other.CDKOHBLHDDH != 0U)
			{
				this.CDKOHBLHDDH = other.CDKOHBLHDDH;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			if (other.CreateTime != 0L)
			{
				this.CreateTime = other.CreateTime;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007195 RID: 29077 RVA: 0x00130108 File Offset: 0x0012E308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007196 RID: 29078 RVA: 0x00130114 File Offset: 0x0012E314
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 72U)
				{
					if (num == 40U)
					{
						this.CDKOHBLHDDH = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.CreateTime = input.ReadInt64();
						continue;
					}
					if (num == 72U)
					{
						this.WorldLevel = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.ConfigId = input.ReadUInt32();
						continue;
					}
					if (num == 96U)
					{
						this.HGAIBECFCPL = input.ReadBool();
						continue;
					}
					if (num == 104U)
					{
						this.MonsterId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002B52 RID: 11090
		private static readonly MessageParser<KilledPunkLordMonsterInfo> _parser = new MessageParser<KilledPunkLordMonsterInfo>(() => new KilledPunkLordMonsterInfo());

		// Token: 0x04002B53 RID: 11091
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002B54 RID: 11092
		public const int HGAIBECFCPLFieldNumber = 12;

		// Token: 0x04002B55 RID: 11093
		private bool hGAIBECFCPL_;

		// Token: 0x04002B56 RID: 11094
		public const int WorldLevelFieldNumber = 9;

		// Token: 0x04002B57 RID: 11095
		private uint worldLevel_;

		// Token: 0x04002B58 RID: 11096
		public const int ConfigIdFieldNumber = 11;

		// Token: 0x04002B59 RID: 11097
		private uint configId_;

		// Token: 0x04002B5A RID: 11098
		public const int CDKOHBLHDDHFieldNumber = 5;

		// Token: 0x04002B5B RID: 11099
		private uint cDKOHBLHDDH_;

		// Token: 0x04002B5C RID: 11100
		public const int MonsterIdFieldNumber = 13;

		// Token: 0x04002B5D RID: 11101
		private uint monsterId_;

		// Token: 0x04002B5E RID: 11102
		public const int CreateTimeFieldNumber = 8;

		// Token: 0x04002B5F RID: 11103
		private long createTime_;
	}
}
